package org.inspursc.s0517.health.evaluation.entity;

import lombok.Data;
import org.inspursc.s0517.health.common.entity.AbstractIdEntity;

import javax.persistence.*;
import java.util.Date;


/**
 * @author B_Dream
 * @date 2018/6/6 8:59
 */

@Entity(name = "t_health_record")
@Data
public class AnRadio extends AbstractIdEntity {

    /**
     * 客户id
     */
    private Integer personnelId;

    /**
     * 回答问卷ID(2018-6-21 新增字段)
     */
    @Column(name = "health_result_id")
    private Integer healthResultId;

    /**
     * 组织机构id
     */
    private Integer organizationId;

    /**
     * 评估师系统账户id
     */
    private Integer appraiserId;

    /**
     * 问卷Id
     */
    private Integer surveyId;

    /**
     * 题目所属一级分类id
     */
    private Integer primaryCategoryId;


    /**
     * 题目所属二级分类id
     */
    private Integer secondCategoryId;

    /**
     * 问题Id
     */
    private Integer questionId;

    /**
     * 时间
     */
    private Date dateTime;

    /**
     * 回答Id
     */
    private Integer optionId;


    /**
     * 选项名字（2018-7-13新增）
     */
    private String optionAnswer;


    /**
     * 回答得分
     */
    private Integer optionScore;




    /**
     * 其他选项回答
     */
    private String otherOptionsAnswer;



}
